Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change run.ts to wait for port to be ready. #31

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

ronitagarwala01
Copy link
Contributor

Add an await operator to wait for server to be ready before client makes requests. Prevents "ConnectionError: connect ECONNREFUSED ::1:9200" error

Add an await operator to wait for server to be ready before client makes requests.
Prevents "ConnectionError: connect ECONNREFUSED ::1:9200" error
Copy link
Member

@lpsinger lpsinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops! Good catch.

@lpsinger lpsinger merged commit 00d2b77 into nasa-gcn:main Dec 12, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants